package com.ruoyi.tb.lmt.service;

import com.ruoyi.tb.lmt.domain.TbEquipmentApply;
import com.ruoyi.tb.lmt.domain.vo.TbEquipmentApplyVo;
import com.ruoyi.tb.lmt.domain.bo.TbEquipmentApplyBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 大部件申请Service接口
 *
 * @author ruoyi
 * @date 2024-04-03
 */
public interface ITbEquipmentApplyService {

    /**
     * 查询大部件申请
     */
    TbEquipmentApplyVo queryById(Long ID);

    /**
     * 查询大部件申请列表
     */
    TableDataInfo<TbEquipmentApplyVo> queryPageList(TbEquipmentApplyBo bo, PageQuery pageQuery);

    /**
     * 查询大部件申请列表
     */
    List<TbEquipmentApplyVo> queryList(TbEquipmentApplyBo bo);

    /**
     * 新增大部件申请
     */
    Boolean insertByBo(TbEquipmentApplyBo bo);

    /**
     * 修改大部件申请
     */
    Boolean updateByBo(TbEquipmentApplyBo bo);

    /**
     * 校验并批量删除大部件申请信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    TbEquipmentApplyVo selectByCode(String equipmentCode);

    TableDataInfo<TbEquipmentApplyVo> selectApplyList(PageQuery pageQuery);
}
